import { ref as o, computed as n } from "vue";
import { c } from "../component-87e22bdd.mjs";
import { u as p } from "../useProvide-fb0387bb.mjs";
import { a as u, A as i } from "../common-92613194.mjs";
/*!
* Vin UI 移动端 Vue3 组件库 v0.2.9 Fri Jun 02 2023 21:01:02 GMT+0800 (中国标准时间)
* (c) 2023 @vingogo.
* Released under the MIT License.
*/
const { classPrefix: m, create: f, useVinContext: l } = c("avatar-group"), C = f({
  props: u,
  setup(a) {
    const { getMainClass: r } = l(a), t = o(null), s = o(0), e = n(r);
    return p(i, `${m}-avatar`)({ props: a, avatarGroupRef: t, index: s }), {
      classes: e,
      avatarGroupRef: t
    };
  }
});
export {
  C as default
};
